package com.car.loan.project.xr.util.repayment;

import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import lombok.Data;

/**
 * @author huangding
 * @description 还款计划参数
 * @date 2019/12/31 9:25
 */
@Data
public class RepaymentPlanParam {

    @ApiModelProperty("融资金额")
    private BigDecimal financingAmount;

    @ApiModelProperty("首次账单日")
    private String firstStatementDate;

    @ApiModelProperty("宽限期")
    @Min(1)
    @Max(28)
    private Integer gracePeriod;

    @ApiModelProperty("期数")
    private Integer term;

    @ApiModelProperty("每月利息")
    private BigDecimal monthRepayInterest;

    @ApiModelProperty("每月本金")
    private BigDecimal monthRepayPrincipal;

    @ApiModelProperty("首月利息")
    private BigDecimal firstRepayInterest;

    @ApiModelProperty("首月本金")
    private BigDecimal firstRepayPrincipal;

    @ApiModelProperty("末月利息")
    private BigDecimal lastRepayInterest;

    @ApiModelProperty("末月本金")
    private BigDecimal lastRepayPrincipal;


}
